
------------------------------------------------------
MAIN: 
RUN:
NAME:
FLOW:
------------------------------------------------------

------------------------------------------------------
MAIN: ls all images
RUN: docker images
NAME: dk_ls_al_img__
FLOW:
------------------------------------------------------

------------------------------------------------------
MAIN: ls all contaners
RUN: docker ps -a
NAME: dk_ls_al_cont__
FLOW:
------------------------------------------------------

------------------------------------------------------
+
MAIN: ls runing contaners
RUN: docker ps
NAME: dk_ls_runi_cont__
FLOW:
------------------------------------------------------

------------------------------------------------------
MAIN: rm all run contaners 
RUN: dk_rm_al_runi_cont__
    local arr_ps_a_q=("$(docker ps -a -q)")

    if [[ -n ${arr_ps_a_q[0]} ]]; then
        docker rm $(docker ps -a -q)
    else
        plt_info "EMPTY :: docker ps -a -q"
    fi
NAME:
FLOW:
------------------------------------------------------

------------------------------------------------------
MAIN: pull
RUN: docker pull <img_name>
NAME: dk_pull_mmimg__
FLOW:
    mm elegendi <img_name>
    docker pull <img_name>

------------------------------------------------------

------------------------------------------------------
+
MAIN: stop
RUN: docker stop <id_cont>
NAME: dk_stop_al_cont__
FLOW:
    mm elegendi  
        menu_name [docker ps]
        menu_result [docker ps -q]
    docker pull <img_name>

------------------------------------------------------

------------------------------------------------------
+
MAIN: docker run img from ${PD_PATH}/.d/.lst/dk_pull_mmimg__ with arg from ${PD_PATH}/.d/.lst/dk_run_mmimg_mmarg__/args
RUN: 
NAME: dk_run_mm_lst_img_mmarg__
FLOW:
------------------------------------------------------

------------------------------------------------------
+
MAIN: docker run img from $(docker images)->id with arg from ${PD_PATH}/.d/.lst/dk_run_mmimg_mmarg__/args
RUN:
NAME: dk_run_mm_puli_img_mmarg__
FLOW:
------------------------------------------------------

------------------------------------------------------
- 
MAIN: remove pulled img 
RUN: docker rmi -f <img_id>
NAME: dk_rm_mm_puli_img__
FLOW:
------------------------------------------------------

------------------------------------------------------
?
MAIN: remove lst img 
RUN: docker rmi -f <img_id>
NAME: dk_rm_mm_lst_img__
FLOW:
------------------------------------------------------ 
